package com.survey.dao.mapper;

import java.util.List;

import com.survey.pojo.data.AddressDO;
import com.survey.pojo.vo.AddressVO;
import org.springframework.stereotype.Repository;

/** 
 * <br/>
 * Created by jj on 2018/08/09
 */
@Repository
public interface AddressMapper {

    Integer addAddress(AddressVO addressVO);

    Integer updateAddress(AddressVO addressVO);

    AddressDO findDetailAddress(AddressVO addressVO);

    List<AddressDO> listAddress(AddressVO addressVO);

    List<AddressDO> listAddressPage(AddressVO addressVO);

    Integer countAddress(AddressVO addressVO);

    Integer deleteAddress(AddressVO addressVO);

}
